package mail;

/**
 * Filtro compuesto OR
 * @author Damian
 *
 */
public class FilterOR extends FilterComposed {

	@Override
	public Boolean filter(Mail email) {
		return this.t1.filter(email) || this.t2.filter(email);
	}

	public FilterOR(SearchType t1, SearchType t2){
		this.t1 = t1;
		this.t2 = t2;
	}
}
